export interface FilterBlockTableColumns {    
    id:number;  //    
    ip:string;  //    
    startTime:string;  // 开始时间    
    path:string;  // 请求的Path    
    blockDuration:number;  // 封锁时长    
    createdAt:string;  //    
}


export interface FilterBlockInfoData {    
    id:number|undefined;        //    
    ip:string|undefined; //    
    startTime:string|undefined; // 开始时间    
    path:string|undefined; // 请求的Path    
    blockDuration:number|undefined; // 封锁时长    
    createdAt:string|undefined; //    
    updatedAt:string|undefined; //    
    deletedAt:string|undefined; //    
}


export interface FilterBlockTableDataState {
    ids:any[];
    tableData: {
        data: Array<FilterBlockTableColumns>;
        total: number;
        loading: boolean;
        param: {
            pageNum: number;
            pageSize: number;            
            id: number|undefined;            
            ip: string|undefined;            
            startTime: string[];            
            path: string|undefined;            
            blockDuration: number|undefined;            
            createdAt: string|undefined;            
            dateRange: string[];
        };
    };
}


export interface FilterBlockEditState{
    loading:boolean;
    isShowDialog: boolean;
    formData:FilterBlockInfoData;
    rules: object;
}